package com.roncoo.eshop.inventory.listener;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

import com.roncoo.eshop.inventory.thread.RequestProcessorThreadPool;

/**
 * Copyright: Copyright (c) 2019 Hu-Cheng
 * 
 * @ClassName: InitListener.java
 * @Description: 初始化监听器
 *
 * @version: v1.0.0
 * @author: hucheng
 * @date: 2019年9月19日 上午10:04:41
 *
 */
public class InitListener implements ServletContextListener {

	@Override
	public void contextInitialized(ServletContextEvent sce) {
		RequestProcessorThreadPool.init();
	}

	@Override
	public void contextDestroyed(ServletContextEvent sce) {

	}

}
